package edu.bigdata;

/**
 * @Author zjh 电脑好卡呀
 * @Date 2022-04-20 上午 7:57
 **/
public class light{
    /**
     * 开关状态
     * 由于未做持久化，灯泡状态默认为关闭
     */
    private int switchState;
    /**
     * 运行方式
     */
    private int runMode;
    /**
     * 定时时间
     */
    private String timing;
    /**
     * 灯泡异常
     * */
    private int health;


    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }

    public int getSwitchState() {
        return switchState;
    }

    public void setSwitchState(int switchState) {
        this.switchState = switchState;
    }

    public String getTiming() {
        return timing;
    }

    public void setTiming(String timing) {
        this.timing = timing;
    }

    public int getRunMode() {
        return runMode;
    }

    public void setRunMode(int runMode) {
        this.runMode = runMode;
    }
}
